package com.ruoyi.leif.service;

import java.util.List;
import com.ruoyi.leif.domain.BaseWarehouse;

/**
 * 仓库Service接口
 * 
 * @author leif
 * @date 2025-06-13
 */
public interface IBaseWarehouseService 
{
    /**
     * 查询仓库
     * 
     * @param id 仓库主键
     * @return 仓库
     */
    public BaseWarehouse selectBaseWarehouseById(String id);

    /**
     * 查询仓库列表
     * 
     * @param baseWarehouse 仓库
     * @return 仓库集合
     */
    public List<BaseWarehouse> selectBaseWarehouseList(BaseWarehouse baseWarehouse);

    /**
     * 新增仓库
     * 
     * @param baseWarehouse 仓库
     * @return 结果
     */
    public int insertBaseWarehouse(BaseWarehouse baseWarehouse);

    /**
     * 修改仓库
     * 
     * @param baseWarehouse 仓库
     * @return 结果
     */
    public int updateBaseWarehouse(BaseWarehouse baseWarehouse);

    /**
     * 批量删除仓库
     * 
     * @param ids 需要删除的仓库主键集合
     * @return 结果
     */
    public int deleteBaseWarehouseByIds(String[] ids);

    /**
     * 删除仓库信息
     * 
     * @param id 仓库主键
     * @return 结果
     */
    public int deleteBaseWarehouseById(String id);
}
